package com.sams.mapper;

import com.sams.entity.SchoolSub;
import com.sams.entity.SchoolSubExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchoolSubMapper {
    int countByExample(SchoolSubExample example);

    int deleteByExample(SchoolSubExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SchoolSub record);

    int insertSelective(SchoolSub record);

    List<SchoolSub> selectByExample(SchoolSubExample example);

    SchoolSub selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SchoolSub record, @Param("example") SchoolSubExample example);

    int updateByExample(@Param("record") SchoolSub record, @Param("example") SchoolSubExample example);

    int updateByPrimaryKeySelective(SchoolSub record);

    int updateByPrimaryKey(SchoolSub record);

	int deleteBatch(List<String> list);
}